'Declaration
<ExtensionAttribute()> <ElementsNotNullAttribute()> <NotNullAttribute()> Public Overloads Shared Function WaitForMultiple( _ ByVal client As IEasyUAClient, _ ByVal argumentsAndExitPredicateList As IReadOnlyList(Of ValueTuple(Of UAMonitoredItemArguments,Func(Of UAAttributeDataResult,Boolean))) _ ) As UAAttributeDataResult()
'Usage
Dim client As IEasyUAClient Dim argumentsAndExitPredicateList As IReadOnlyList(Of ValueTuple(Of UAMonitoredItemArguments,Func(Of UAAttributeDataResult,Boolean))) Dim value() As UAAttributeDataResult value = IEasyUAClientExtension2.WaitForMultiple(client, argumentsAndExitPredicateList)
[Extension()] [ElementsNotNull()] [NotNull()] public static UAAttributeDataResult[] WaitForMultiple( IEasyUAClient client, IReadOnlyList<ValueTuple<UAMonitoredItemArguments,Func<UAAttributeDataResult,bool>>> argumentsAndExitPredicateList )
[Extension()] [ElementsNotNull()] [NotNull()] public: static array<UAAttributeDataResult^>^ WaitForMultiple( IEasyUAClient^ client, IReadOnlyList<ValueTuple<UAMonitoredItemArguments^,Func<UAAttributeDataResult^,bool>^>>^ argumentsAndExitPredicateList )
Parameters
- client
- The client object that will perform the operation.
- argumentsAndExitPredicateList
- List of tuples, where each tuple consists of OPC-UA monitored item arguments, and a predicate on OpcLabs.EasyOpc.UA.OperationModel.UAAttributeDataResult determining when the wait is complete.
Return Value
The function returns an array of OpcLabs.EasyOpc.UA.OperationModel.UAAttributeDataResult objects. The indices of elements in the output array are the same as those in the input list, argumentsAndExitPredicateList.